@import url("../../../../assets/css/var.less");
.nav {
  width: 100%;
  height: 44px;
  border-bottom: 1px solid @border-color;
  background-color: #fff;
  display: flex;

  .city {
    width: 62px;
    height: 100%;
    .center();
    font-size: 18px;
  }

  ul {
    flex: 1;
    display: flex;
    padding: 0 20px;

    li {
      flex: 2;
      font-size: 18px;
      .center();

      &:last-child {
        flex: 3;
      }

      a {
        display: block;
        width: 100%;
        height: 100%;
        .center()
      }
    }

    .active {
      font-weight: 900;
      color: #000;
      position: relative;

      &::after {
        content: "";
        position: absolute;
        width: 20px;
        height: 3px;
        border-radius: 1.5px;
        background-color: @theme-color;
        bottom: 4px;
        left: 50%;
        transform: translateX(-50%);
      }
    }
  }

  .icon-sousuo {
    width: 45px;
    height: 100%;
    .center();
    color: @theme-color;
    font-size: 16px;
  }
}